package com.tbryant.test.designpattern.zenofdesignpattern.decorator;

/**
 * @author TBryant
 * @date 2021/9/29 10:19
 */
public abstract class Decorator extends SchoolReport {
    private SchoolReport sr;

    public Decorator(SchoolReport sr) {
        this.sr = sr;
    }

    @Override
    public void report() {
        this.sr.report();
    }

    @Override
    public void sign(String name) {
        this.sr.sign(name);
    }
}
